home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.orig.lzh
/
man
/
rnews.man
< prev
next >
Wrap
Text File
|
1989-06-28
|
6KB
|
133 lines
RRRRNNNNEEEEWWWWSSSS((((8888)))) CCCC NNNNeeeewwwwssss ((((22224444 MMMMaaaayyyy 1111999988889999)))) RRRRNNNNEEEEWWWWSSSS((((8888))))
NNNNAAAAMMMMEEEE
rnews, cunbatch - accept and spool news input
recbnews, recpnews, bdecode - accept and spool news received
via mail
newsspool, newsrun, c7decode - news input spooler and
processing
newsrunning - control news-processing daemon
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrrnnnneeeewwwwssss [ file ... ]
ccccuuuunnnnbbbbaaaattttcccchhhh [ file ... ]
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////rrrreeeeccccbbbbnnnneeeewwwwssss
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////rrrreeeeccccppppnnnneeeewwwwssss
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssssssppppoooooooollll [ ----iiii ] [ file ... ]
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnn
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////cccc7777ddddeeeeccccooooddddeeee
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////bbbbddddeeeeccccooooddddeeee [ file ]
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnnnnnniiiinnnngggg {oooonnnn|ooooffffffff}
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_R_n_e_w_s accepts the named _f_i_l_e(s) (standard input default) as
news, and spools it up for processing, space permitting.
_C_u_n_b_a_t_c_h is a historical synonym for _r_n_e_w_s; there is no
difference in what they do.
_R_e_c_b_n_e_w_s receives news sent as mail in _b_e_n_c_o_d_e format (see
_n_e_w_s_b_a_t_c_h(8)), runs it through _b_d_e_c_o_d_e, and feeds it to
_r_n_e_w_s. _R_e_c_p_n_e_w_s does likewise for news sent as mail with
`N' prepended to each line.
_N_e_w_s_s_p_o_o_l is the actual spooling program. It creates a
spool file with a name based on the current time (which
avoids the need for locking) in the spooling directory
/_u_s_r/_s_p_o_o_l/_n_e_w_s/_i_n._c_o_m_i_n_g and copies the input _f_i_l_e(s)
(standard input default) to it, stripping off any
`####!!!! ccccuuuunnnnbbbbaaaattttcccchhhh' or `####!!!! cccc7777uuuunnnnbbbbaaaattttcccchhhh' header as it does so. If
invoked with the ----iiii option, when finished it attempts to
start _n_e_w_s_r_u_n to process the new news immediately.
_N_e_w_s_r_u_n should be run periodically (e.g. by _c_r_o_n(8)) to
process spooled news. _N_e_w_s_r_u_n_n_i_n_g can be used to enable and
disable _n_e_w_s_r_u_n's processing if it is desired to avoid major
news processing during certain hours.
_N_e_w_s_r_u_n checks for the _s_t_o_p file that _n_e_w_s_r_u_n_n_i_n_g _o_f_f
creates, verifies that there is enough disk space for
processing, and then starts processing spooled news. Each
batch is run through _c_7_d_e_c_o_d_e (if necessary), de_c_o_m_p_r_e_s_sed
(if necessary), and then fed to _r_e_l_a_y_n_e_w_s (on the server, if
/_u_s_r/_l_i_b/_n_e_w_s/_s_e_r_v_e_r exists and contains its name). If
_r_e_l_a_y_n_e_w_s fails, _n_e_w_s_r_u_n reports this (by mail to uuuusssseeeennnneeeetttt)
and attempts to save the spooled batch in the _b_a_d
Page 1 (printed 6/29/89)
RRRRNNNNEEEEWWWWSSSS((((8888)))) CCCC NNNNeeeewwwwssss ((((22224444 MMMMaaaayyyy 1111999988889999)))) RRRRNNNNEEEEWWWWSSSS((((8888))))
subdirectory for human inspection. To bound the
accumulation in _b_a_d in the event of some systematic problem,
_n_e_w_s_r_u_n limits _b_a_d to 50 files; this default can be changed
by placing a _l_i_m_i_t file in _b_a_d, containing one ASCII line
with the desired numeric limit. A limit of 0 will prevent
saving of bad batches.
_C_7_d_e_c_o_d_e passes standard input to standard output, decoding
a complex and bizarre encoding of 8-bit data as printable
ASCII characters. _B_d_e_c_o_d_e passes standard input, or the
_f_i_l_e if there is one, to standard output, decoding the
_b_e_n_c_o_d_e encoding and stripping off debris prepended and
appended by mailers.
FFFFIIIILLLLEEEESSSS
(All in /_u_s_r/_s_p_o_o_l/_n_e_w_s/_i_n._c_o_m_i_n_g)
000000000 (etc.) spooled news
stop _n_e_w_s_r_u_n disable file
bad directory for failed news
bad/limit limit on number of files in _b_a_d
SSSSEEEEEEEE AAAALLLLSSSSOOOO
compress(1), newsbatch(8), relaynews(8)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Complaints are mailed to uuuusssseeeennnneeeetttt if something goes wrong.
HHHHIIIISSSSTTTTOOOORRRRYYYY
Part of C News. Written at University of Toronto by Henry
Spencer.
BBBBUUUUGGGGSSSS
_C_7_d_e_c_o_d_e should be part of the underlying transport
mechanism. It hasn't been tested very well in the C News
environment. _B_e_n_c_o_d_e is probably better.
_R_e_c_p_n_e_w_s and the protocol it uses are obsolescent, as
_r_e_c_b_n_e_w_s and _b_d_e_c_o_d_e are far superior.
Page 2 (printed 6/29/89)